﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess
{
    /// <summary>
    /// 访问统计表
    /// </summary>
    [Table("statisticsinfo")]
    public class StatisticsInfo
    {
        /// <summary>
        /// 主键: 1: 首页访问人次；2：宠物故事访问次数；3：养宠知识访问次数；4：广告点击人次；5：宠物信息访问次数
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 统计类型：firstpage：首页；petstory：宠物故事；petknowledge：养宠知识；advert：广告访问; petinfo;
        /// </summary>
        public string? statname { get; set; }

        /// <summary>
        /// 访问次数
        /// </summary>
        public int readcount { get; set; }
    }
}
